import Vue from 'vue'
import Router from 'vue-router'
import optimization from '@/components/optimization'
import examine from '@/components/examine'
import report from '@/components/report'
import settlement from '@/components/settlement'
import infos from '@/components/infos'
import login from '@/components/login'
import switchome from '@/components/switchome'
import ZHinfo from '@/components/ZHinfo'


Vue.use(Router)

export default new Router({
	routes: [{
			path: '/',
			name: 'login',
			component: login
		},
		{
			path: '/optimization',
			name: 'optimization',
			component: optimization
		},
		{
			path: '/switchome',
			name: 'switchome',
			component: switchome
		},
		{
			path: '/ZHinfo',
			name: 'ZHinfo',
			component: ZHinfo
		},
		{
			path: '/examine',
			name: 'examine',
			component: examine
		},
		{
			path: '/report',
			name: 'report',
			component: report
		},
		{
			path: '/settlement',
			name: 'settlement',
			component: settlement
		},
		{
			path: '/infos',
			name: 'infos',
			component: infos
		}
	]
})
